package net.alche.sdd.servlet.imp;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class SddHttpServerTomcatServlet extends HttpServlet {
  @Override
  protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
    SddHttpServerTomcatInitializer.sddServer.dispatch(req,resp);
  }
  @Override
  protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
    SddHttpServerTomcatInitializer.sddServer.dispatch(req,resp);
  }
  @Override
  protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
    SddHttpServerTomcatInitializer.sddServer.dispatch(req,resp);
  }
  @Override
  protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
    SddHttpServerTomcatInitializer.sddServer.dispatch(req,resp);
  }
}
